<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <%@ include file="resources/common/page/sessionovertime.jsp"%>
    <base href="<%=basePath%>">
    <title><s:text name="project.name"/></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<script type="text/javascript" src="sys/main/main.js"></script>
	<style type="text/css">
		.tabs-tool {
		    border-style: none none solid none;
		    border-width: 1px;
		    bottom: 0;
		    overflow: hidden;
		    padding: 2px;
		    position: absolute;
		}
		.tooblarCss{
			background: linear-gradient(to bottom, rgb(198, 226, 255) 0px, rgb(255, 255, 255) 100%) repeat-x scroll 0px 0px transparent; 
			right: 0px; 
		}
	</style>
	<script type="text/javascript">
	  $(function(){
	        $('#loginOut').click(function() {
	            $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
	                if (r) {
	                    location.href = 'logout.action';
	                }
	            });
	        });		  
	   });
	</script>
</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no" >
<noscript>
<div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;"> 
<img src="resources/images/noscript.gif" alt='抱歉，请开启脚本支持！' /> </div>
</noscript>

	<!-- begin of header -->
    <div class="uims-header" data-options="region:'north',border:false,split:true">
      <div id="header-left">
        <img id ="CompanyLogo" src="resources/images/logoInner.png" style="height:33px;margin:15px 0px 0px 34px;" />
      </div>
      <div class="uims-header-right">
      	<p><strong class="easyui-tooltip" title="2条未读消息"> ${loginUser.realName}</strong>，欢迎您！</p>
          <p><a href="#">网站首页</a>|<a href="#">支持论坛</a>|<a href="#">帮助中心</a>|<a id="loginOut" href="javascript:void(0);">安全退出</a></p>
      </div>      
    </div>
    <!-- end of header -->

    <!-- begin of footer -->
	<div class="uims-footer" data-options="region:'south',border:true,split:false">
    	<div style="width:150px; margin-left:10px;height: 18;float: left;line-height: 20px;" id="editionDiv"></div>
    	 <lable style="line-height: 20px;">
    	 Copyright © <script>document.write((new Date().getFullYear()=='2015'?'2015':('2015-'+new Date().getFullYear())));</script> BGI
    	</lable>
    	<div style="width: 150px; margin-right:10px;height: 18;float: right;line-height: 20px;" id="editionDiv"></div>
    </div>
    <!-- end of footer --> 
    
    <!-- begin of sidebar -->
	<div data-options="region:'west',split:true,border:true,title:'导航菜单'" iconCls="icon-navigation"  style="width:200px;">
	   <div id="aa" class="easyui-accordion" fit="true" border="false">
	  <!--  导航内容 --> 
	   </div>
	</div>
    <!-- end of sidebar -->
    
  
  
     <!-- begin of main -->
	<div id="mainPanle" region="center" height="100%" style="background: #eee; overflow-y:hidden;">
	  <div id="tabs" class="easyui-tabs" fit="true" border="false"  data-options="tools:'#toolbar'" >
		<div title="我的桌面" id="mainPanleTab" iconCls="icon-views">
	      	<iframe src="sys/desktop/desktop.jsp" id="mainFrame" frameBorder="0" width="100%" height="100%"></iframe>
	    </div>
	  </div>
	</div>
	<!-- end of main --> 
	<!-- 工具栏 start --> 
	<div id="toolbar" class="tooblarCss">
		<table style="margin-top:-4px;">
	        <tr>
	          <td>
			    <a href="javaScript:void(0);" onclick="addOpenPanel()"  class="easyui-linkbutton" iconCls="icon-add" plain="true">添加</a>
	          </td>
	          <td>
			    <a href="javaScript:void(0);" onclick="saveDesktop()" class="easyui-linkbutton" iconCls="icon-save" plain="true">保存</a>
	          </td>
	        </tr>
     	</table>
	</div>
	<!-- 工具栏 end -->
<div id="mm" class="easyui-menu" style="width:150px;">
  <div id="mm-tabupdate">刷新</div>
  <div class="menu-sep"></div>
  <div id="mm-tabclose">关闭</div>
  <div id="mm-tabcloseall">全部关闭</div>
  <div id="mm-tabcloseother">除此之外全部关闭</div>
  <div class="menu-sep"></div>
  <div id="mm-tabcloseright">当前页右侧全部关闭</div>
  <div id="mm-tabcloseleft">当前页左侧全部关闭</div>
  <div class="menu-sep"></div>
  <div id="mm-exit">退出</div>
</div>
</body>
</html>
